package ObjectsPlus_extends.S.T.Keywords;

public class B_DemoTest {
    public static void main(String[] args) {
        ObjectsPlus_extends.S.T.Keywords.B_Dogs dog = new ObjectsPlus_extends.S.T.Keywords.B_Dogs();
        dog.setAge(2);
        dog.setColor("黑色");
        B_Cats cat = new B_Cats();
        cat.setAge(2);
        cat.setColor("白色");

        B_Person p = new B_Person();
        p.keepPet(dog, "骨头");
        p.keepPet(cat, "小鱼干");

    }
}
